package com.sikaryofficial.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.sikaryofficial.common.core.annotation.LocalDateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author : qinjinyuan
 * @desc : TODO  请填写你的功能描述
 * @date : 2024/04/07 15:02
 */
@Getter
@Setter
@ToString
@ApiModel(value = "新增用户统计出参", description = "新增用户统计出参")
public class TrendDTO {

    @LocalDateTimeFormat(pattern = "yyyyMMdd")
    @ApiModelProperty(value = "统计日期",example = "yyyyMMdd")
    private Date genDate;

    @ApiModelProperty(value = "当前统计日期新增未登录数量")
    private Long curNoLoginTotal;

    @ApiModelProperty(value = "统计日期新增数量")
    private Long subTotal;
    @ApiModelProperty(value = "统计日期昨日数量")
    private Long beforeSubTotal;
    @ApiModelProperty(value="次日留存率(%)")
    private BigDecimal dayRetentionRate;

    @ApiModelProperty(value = "累加新增数量")
    private Long  accumulateTotal;
    @ApiModelProperty(value = "统计日期-季度数：年份+季度-202401")
    private Integer  quarterNum;
    @ApiModelProperty(value = "统计日期-周期数：年份+周数-202401")
    private Integer  weekNum;
    @JsonIgnore
    private Integer hasLogin;
}
